package com.yurivolkov.android.locale_audio_update_notifier;

/**
 * Class of {@code Intent} constants used by this <i>Locale</i> plug-in.
 */
final class Constants
{
	/**
	 * Private constructor prevents instantiation.
	 *
	 * @throws UnsupportedOperationException because this class cannot be instantiated.
	 */
	private Constants()
	{
		throw new UnsupportedOperationException("Constants(): Cannot instantiate Constants"); //$NON-NLS-1$
	}

	/**
	 * Type: {@code String}
	 * <p>
	 * Maps to a {@code String} in the store-and-forward {@code Bundle}.
	 */
	protected static final String INTENT_EXTRA_MESSAGE = "com.yurivolkov.android.locale-audio-update-notifier.extra.MESSAGE"; //$NON-NLS-1$
    protected static final String INTENT_EXTRA_DELAY = "com.yurivolkov.android.locale-audio-update-notifier.extra.DELAY";
    /**
     * Default notification delay, seconds
     */
    protected static final int DELAY_DEFAULT = 3;
	
	/**
	 * @see <a href="http://www.openintents.org/en/node/380">Audio Volume Update Notification Broadcast at OpenIntents.org</a> 
	 */
	protected static final String ACTION_AUDIO_VOLUME_UPDATE = "org.openintents.audio.action_volume_update";
    protected static final String EXTRA_STREAM_TYPE = "org.openintents.audio.extra_stream_type";
    protected static final String EXTRA_VOLUME_INDEX = "org.openintents.audio.extra_volume_index";
    protected static final String EXTRA_RINGER_MODE = "org.openintents.audio.extra_ringer_mode";
    protected static final int EXTRA_VALUE_UNKNOWN = -9999;
}